from Base.base_page import BasePage
from selenium.webdriver.common.by import By

class searchPage(BasePage):
    URL = "http://www.testingedu.com.cn:8000/Home/User/index.html"

    shopIndex = (By.ID, "q")
    searchButton = (By.CLASS_NAME, "search_usercenter_btn")

    def searchPhone(self, mobilePhone):
        self.input(self.shopIndex, mobilePhone)
        self.click(self.searchButton)


